import request from '@/utils/request'

// 查询成品矿泉水感官检验确认列表
export function listSensory_main(query) {
  return request({
    url: '/Productionline/sensory_main/list',
    method: 'get',
    params: query
  })
}

// 查询成品矿泉水感官检验确认详细
export function getSensory_main(id) {
  return request({
    url: '/Productionline/sensory_main/' + id,
    method: 'get'
  })
}

// 新增成品矿泉水感官检验确认
export function addSensory_main(data) {
  return request({
    url: '/Productionline/sensory_main',
    method: 'post',
    data: data
  })
}

// 修改成品矿泉水感官检验确认
export function updateSensory_main(data) {
  return request({
    url: '/Productionline/sensory_main',
    method: 'put',
    data: data
  })
}

// 删除成品矿泉水感官检验确认
export function delSensory_main(id) {
  return request({
    url: '/Productionline/sensory_main/' + id,
    method: 'delete'
  })
}
